!function (window,document,$,undefined){

	var app = angular.module('myApp',[]);
	app.Controller('ctrl',function($scope,$http) {
		var arr = [];
		$scope.pageSize = 5;
		$scope.isActive = false;
		$scope.page = 0;

		$scope.status = {
			0 :'上架',
			1 :'下架'
		};

		$scope.borrow_status = {
			0 :'未借出',
			1 :'已借出'
		};

		$scope.classify = [
			{'id':1,name:'历史类'},
			{'id':2,name:'军事类'},
			{'id':3,name:'科学类'},
			{'id':4,name:'小说类'}


		
		];
	});

}(window,document,jQuery);